import cupk.IgoChessman;
import cupk.IgoChessmanFactory;

public class Main {
    public static void main(String[] args) {
        IgoChessmanFactory factory;
        IgoChessman black1, black2, black3, white1, white2;
        factory = IgoChessmanFactory.getInstance();
        black1 = factory.getIgoChessman("b");
        black2 = factory.getIgoChessman("b");
        black3 = factory.getIgoChessman("b");
        white1 = factory.getIgoChessman("w");
        white2 = factory.getIgoChessman("w");
        System.out.println(black1.getColor());
        System.out.println(white2.getColor());
        black1.display();
        black2.display();
        black3.display();
        white1.display();
        white2.display();
    }
}